<?php

namespace Drupal\mxm_article\ViewsController\handler\filter;

use Drupal\mxm_article\ViewsController\Traits\MxmArticleAnnouncementTrait;
use views_handler_filter_in_operator;

class MxmArticleAnnouncementViewsFilter extends views_handler_filter_in_operator {

  use MxmArticleAnnouncementTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "显示在公告 0 禁用 1 启用";
      $this->value_options = $this->getAnnouncementOptions();
    }
  }
}
